home *** CD-ROM | disk | FTP | other *** search
- on(release){
- if(_root.player.cash - cost >= 0)
- {
- _root.player.cash -= cost;
- _root.buyItem(_root.car,"CL",upCL);
- _root.buyItem(_root.car,"TQ",upTQ);
- _root.buyItem(_root.car,"WT",upWT);
- _root.buyItem(_root.car,"HP",upHP);
- _root.car["UPGRADE" add i] = true;
- _root.attachMovie("WRENCH","wrench111",747);
- }
- else
- {
- _root.prompt("E","Not Enough Cash!",3);
- }
- }
-